package wbhproject.tests;

import org.apache.log4j.Logger;
import wbhproject.tools.MeasurePointRequestorController;

/**
 * 
 * @author Thomas Aulich
 *
 */
public class SingletonTest {
	static Logger log = Logger.getLogger(SingletonTest.class);

	public static void main(String[] args) throws InterruptedException {
		log.debug("Void main started");
		MeasurePointRequestorController myController1 = MeasurePointRequestorController.getInstance();
		log.debug("Birthdate Controller1:" + String.valueOf(myController1.getBirthDate()));
		Thread.sleep(5000);
		MeasurePointRequestorController myController2 = MeasurePointRequestorController.getInstance();
		log.debug("Birthdate Controller2:" + String.valueOf(myController2.getBirthDate()));
		log.debug("Void main ended");
	}
}
